Miscellaneous tags

There are two tags that I will cover here. One is a tag that will center graphics and text in the middle of the web page. the other is a modification upon the body tag that will change the background color, text color, link color and visited link color of your page.

••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••

The center tag

<CENTER> </CENTER>

These are paired tags.

Note: Not all browsers support the center tags. Netscape and AOLs browser do.

••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••

Modifying the body tag

Normally the body tags are this:

 <BODY>  </BODY>

They can be modified to change the characteristics of the page: 

<BODY BGCOLOR="#ffffff" TEXT="#000000" LINK="#0000a0" VLINK="#ff0000"> </BODY> 

BGCOLOR=  This will change the background color.

TEXT= This will change the text color.

LINK= This will change the link color.

VLINK= This will change the visited link color.

The numbers and letters prefaced by the pound sign between the quotes are hexidecimal numbers that correspond to certain colors.

Note: Some people configure their browsers to show a certain background color and so on. If they do this then your changes won't be seen.

••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••

Summary

Text and graphics can be centered using the center tags. The colors of the background, text, links and visited links can be changed by modifying the the body tags.

Drill 9 will cover these two topics.